.page-container {
    padding-bottom: 80px;
    /* 为底部操作栏留出空间 */
}

/* 说明信息样式 - 更新 */
.info-bar {
    background-color: rgba(8, 59, 111, 0.758);
    padding: 12px 20px;
    margin: 5px 5px 20px;
    border-left: 9px solid #409eff;
    border-radius: 4px;
    color: white;
}

.info-content {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 3px;
    /* 左侧增加3px间距 */
}

/* 表单样式 */
.screen-form {
    padding: 0 20px;
    max-width: 100%;
    /* 改为100%宽度 */
    margin: 0 auto;
}

/* 自定义比例输入框样式 */
.custom-ratio-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.separator {
    margin: 0 5px;
}

.ratio-text {
    margin-left: 15px;
    color: #666;
    font-size: 14px;
}

/* 效果列表样式 - 更新为完全响应式 */
.effects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    width: 100%;
}

.effect-item {
    border: 1px solid #ebeef5;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s;
    width: 100%;
    /* 确保宽度自适应 */
}

.effect-item:hover {
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
}

.effect-preview {
    height: 150px;
    background-color: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.effect-gif {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.effect-control {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 添加新效果按钮样式 */
.add-effect {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 200px;
    background-color: #f5f7fa;
}

.add-effect-icon {
    font-size: 40px;
    color: #c0c4cc;
}

.add-effect:hover .add-effect-icon {
    color: #409eff;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .effects-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .effects-container {
        grid-template-columns: 1fr;
    }
}
